package com.hc.service;

import com.hc.domain.ProjAuthor;

import java.util.List;

/**
 * @author: hecai
 * @date: 2021/11/10 14:09
 * @description: 
 */
public interface ProjAuthorService{


    int deleteByPrimaryKey(Long id);

    int insert(ProjAuthor record);

    int insertSelective(ProjAuthor record);

    ProjAuthor selectByPrimaryKey(Long id);

    List<Integer> selectAidByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ProjAuthor record);

    int updateByPrimaryKey(ProjAuthor record);

    /**
     * 根据项目id获取作者id
     * @param projId
     * @return
     */
    List<Integer> getProjAuthorIds(Long projId);

}
